package pl.slyplan.entity;
import javax.persistence.Enumerated;
import javax.persistence.ManyToOne;

import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.jpa.activerecord.RooJpaActiveRecord;
import org.springframework.roo.addon.tostring.RooToString;

@RooJavaBean
@RooToString
@RooJpaActiveRecord
public class Queue {

    @ManyToOne
    private Message message;

    @Enumerated
    private QueuePriority priority;

    @Enumerated
    private MessageStatus status;
}
